Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring UpdateScope, VersionDetails and related classes #702

Merged
merged 1 commit into from
Sep 18, 2022

Conversation

andrzejj0
Copy link
Contributor

The goal of this exercise is to simply VersionDetails and related classes. I've noticed that a lot of logic related to version management is spread across multiple classes. In particular, UpdateScope which is supposed to be a simple enum-like class and a container for the segment, has grown to some utility class with code duplication. Cleaned that up.

The ultimate goal is to replace version management helpers with JSR330 components, also to split VersionComparator classes from their utility part (segment manipulation) -- but that's for another PR. I want to keep the scope small so that it doesn't become another gargantuan PR to review 😆

Please note: until #701 is merged in, there are two commits, then I'll merge and squash.

@sultan
Copy link
Contributor

sultan commented Sep 17, 2022

somehow i cant make my ide checkout the pr, i think it will be easier for both of us if you can merge your PR first, then i'll have a nice branch to checkout and merge on my side. would it be ok for you ?

@slachiewicz slachiewicz merged commit 484a581 into mojohaus:master Sep 18, 2022
@slawekjaranowski slawekjaranowski added this to the 2.13.0 milestone Sep 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants